const getLoginStorage = () =>{
    return sessionStorage.getItem("login")
}

const setLoginStorage = (state) =>{
    sessionStorage.setItem("login",state);
}

const getUsernameStorage = () =>{
    return sessionStorage.getItem("username")
}

const setUsernameStorage = (state) =>{
    sessionStorage.setItem("username",state);
}

const getAccountStorage = () =>{
    return sessionStorage.getItem("account")
}

const setAccountStorage = (state) =>{
    sessionStorage.setItem("account",state);
}

const getPasswordStorage = () =>{
    return sessionStorage.getItem("password")
}

const setPasswordStorage = (state) =>{
    sessionStorage.setItem("password",state);
}

export{
    getLoginStorage,
    setLoginStorage,
    getUsernameStorage,
    setUsernameStorage,
    getAccountStorage,
    setAccountStorage,
    getPasswordStorage,
    setPasswordStorage
}